<template>
  <el-table-column :label="model.desc">
    <template v-if="model.children">
      <table-column v-for="(value, key) in model.children" :key="key" :model="value">
      </table-column>
    </template>
  </el-table-column>
</template>

<script>
export default {
  name: 'table-column',
  props: {
    model: {
      type: Object
    }
  }
}
</script>
<style>
</style>
